<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>兑换详情</title>
    <link rel="stylesheet" href="__CSS__/score_order_detail.css">
</head>
<body>
<div class="topbar-between horizontal-view gradient-color">
    <div class="topbar-back" onclick='javascript:window.location.href="{:U($ref)}"'>
        <div class="topbar-back-icon"></div>
    </div>
    <div class="topbar-title">兑换详情</div>
    <div class="topbar-right"></div>
</div>
<div class="horizontal-view goods-item-wrap">
    <img class="goods-photo" src="/{$orderList.goodsThums}"/>
    <div class="vertical-view">
        <div class="goods-name">{$orderList.goodsName}</div>
        <if condition="$orderList.score eq ''">
        <div class="goods-score">消耗积分：{$orderList.needPay}积分</div>
        <else/>
        <div class="goods-score">消耗积分：{$orderList.score}积分</div>
        </if>
    </div>
</div>
<div class="horizontal-view item-wrap" style="margin-top: 1px;">
    <div class="text-black">兑换时间：</div>
    <!-- <div class="text-gray">{$orderList.time|date="Y-m-d H:i:s",###}</div> -->
       <if condition="$orderList.time neq ''">
        <div class="text-gray">{$orderList.time|date="Y-m-d H:i:s",###}</div>
        <else/>
        <div class="text-gray">{$orderList.payTime|date="Y-m-d H:i:s",###}</div>
    </if>
</div>
<div class="horizontal-view item-wrap" style="margin-top: 1px;">
    <div class="text-black">兑换状态：</div>
    <div class="text-orange">兑换成功</div>
</div>
<div class="horizontal-view item-wrap" style="margin-top: 10px;">
    <div class="text-black">兑换码：</div>
    <div class="text-gray">{$orderList.orderNo}</div>
</div>
<div class="horizontal-view item-wrap" style="margin-top: 10px;">
    <div class="text-black">收货人：</div>
    <div class="text-gray">{$orderList.userName}    {$orderList.userPhone}</div>
</div>
<div class="horizontal-view item-wrap-flex" style="margin-top: 1px;">
    <div class="text-black">收货地址：</div>
    <div class="text-wrap">{$orderList.userAddress}</div>
</div>
<div class="horizontal-view item-wrap" style="margin-top: 10px;">
    <div class="text-black">商品发货物流号：</div>
    <div class="text-gray">{$orderList.deliverNo|default="无"}</div>
</div>
<div class="horizontal-view item-wrap" style="margin-top: 1px;">
    <div class="text-black">物流公司：</div>
    <div class="text-gray">{$info.expressCompany|default="无"}</div>
</div>
<div class="horizontal-view item-wrap" style="margin-top: 1px;">
    <div class="text-black">物流订单号：</div>
    <div class="text-gray">{$info.trackNumber|default="无"}</div>
</div>
<div style="height: 50px"></div>
</body>
</html>